# -*- coding: utf-8 -*-
"""
-------------------------------------------------
   File Name：     main
   Description :
   Author :       wuqianyong
   date：          2020/7/6
-------------------------------------------------
   Change Activity:
                   2020/7/6:
-------------------------------------------------
"""
__author__ = 'wuqianyong'


from extra_apps.common_log import Log
from apps.icris import ICRISTask
from apps.gov import  GOVTask
import time
def run():
    # Log.info("")
    # input("请确定 要查询的公司信息是否已输入 Input.xlsx 文件中(回车键进行下一步)")
    input("Are you sure the company information you want to query has been entered Input.xlsx File (enter for next step)")
    # Log.info(driver_path)
    # Log.info(deploy_env)
    task1 = ICRISTask()
    task1.run()
    time.sleep(3)
    # try:
    #     task = GOVTask()
    #     task.run()
    # except Exception as e:
    #     Log.info("{}".format(repr(e)))
    #     # Log.info("出意外了，麻烦重新运行程序")
    #     Log.info("Something went wrong, please run the program again")


if __name__ == '__main__':
    run()
